<?php
	class IndexAction extends CommonAction{
		
		public function index(){
			
			//分类目录列表
			$category=M('category',CommonModel);
			$catlist=$category->select();
			$this->assign('catlist',$catlist);
			//通知公告列表
			$notice=M('notice',CommonModel);
			$nolist=$notice->select();
			$this->assign('nolist',$nolist);
			//总结列表
			$item=M('item',CommonModel);
			$itemlist=$item->select();
			$this->assign('itemlist',$itemlist);
			//渲染模板
			$this->display('index');
		}
		
	}
	
